package net.vkits.common.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.Objects;


/**
 * LoginUser
 */
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.SpringCodegen", date = "2016-10-27T05:49:23.577Z")

public class LoginUser {
  private String cellPhone = null;

  private String verifyCode = null;

  public LoginUser cellPhone(String cellPhone) {
    this.cellPhone = cellPhone;
    return this;
  }

   /**
   * Get cellPhone
   * @return cellPhone
  **/
  @ApiModelProperty(value = "")
  public String getCellPhone() {
    return cellPhone;
  }

  public void setCellPhone(String cellPhone) {
    this.cellPhone = cellPhone;
  }

  public LoginUser verifyCode(String verifyCode) {
    this.verifyCode = verifyCode;
    return this;
  }

   /**
   * Get verifyCode
   * @return verifyCode
  **/
  @ApiModelProperty(value = "")
  public String getVerifyCode() {
    return verifyCode;
  }

  public void setVerifyCode(String verifyCode) {
    this.verifyCode = verifyCode;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    LoginUser loginUser = (LoginUser) o;
    return Objects.equals(this.cellPhone, loginUser.cellPhone) &&
        Objects.equals(this.verifyCode, loginUser.verifyCode);
  }

  @Override
  public int hashCode() {
    return Objects.hash(cellPhone, verifyCode);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class LoginUser {\n");

    sb.append("    cellPhone: ").append(toIndentedString(cellPhone)).append("\n");
    sb.append("    verifyCode: ").append(toIndentedString(verifyCode)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

